﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class FlyCar : Brand,Ifly
    {
        public FlyCar(string name) : base(name)
        {
            this.Nmae = name;
        }

        public void output1()
        {
            Console.WriteLine("我是{0}！", base.Nmae);
        }
        public void fly()
        {
            Console.WriteLine("我能飞！");
        }
    }
}
